package com.wx.service;

import com.github.pagehelper.PageInfo;
import com.wx.entity.Student;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional // 事务管理
public interface StudentService {
    List<Student> findAll();


    void add(Student student);

    PageInfo findByPage();
}
